文才2[资].js 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. var rule = {
  2. 模板: '采集1',
  3. title: '文才2[资]',
  4. host: 'https://api.zeqaht.com',
  5. homeTid: '75',
  6. url: '/index.php/ajax/data?mid=1&tid=fyfilter&page=fypage&limit=20',
  7. searchUrl: '/index.php/ajax/suggest?mid=1&wd=**&limit=100',
  8. detailUrl: 'https://www.cfkj86.com/detail/fyid',
  9. filter_url: '{{fl.分类}}',
  10. filter: 'H4sIAAAAAAAAA7WSwU6DQBCG7z4F2TOHFihUX8V46IGT2psmpmliS6jAQa0xqLWJpwaqTWovRqHt08CuvIWFVIbZ7rWEA/D9uzvfMJ0DaXuROjmSjjsSOTWvNk8kdQZsERNZIu3WuVl8cQNq2fmXy9bZhbmNtwtkh5kVFih/JVJXlkrmjzcrS6YomHphshoDVRFlwTD9iUuq1jB1Fv8FFWt1RGl/xvwhUAOfO7mp7tzkKKgW52JKe/f02geKz2XenK3egTZ4X/ZYMcK+1PJofwRUw9R5TiIXjLidBw/ZyxTW1nFVvXU2WoMvpqn9lcRgpOVVnWxuGcZD2dd4vK6SKKhOSJ2zngVsfYsCWJx+z9O7TxTgJuFpkr1NqwFdEeijQHO3A+peO8Di5a8bQQGHAkcuY9QEmnxGETSTz6iCbvAZbbch2n5Hwgvp8gMKaIj+KZfRRZPDZYytSOHR/QP/scWLAQUAAA==',
  11. filter_def: {
  12. 1: { 分类: '1' },2: { 分类: '2' },3: { 分类: '3' },4: { 分类: '4' }
  13. },
  14. headers: {
  15. 'User-Agent': 'PC_UA',
  16. 'Referer': 'https://www.cfkj86.com/'
  17. },
  18. 搜索: 'json:list;name;pic;;id',
  19. 图片替换: 'https://api.zeqaht.com=>https://obs.gduamoe.com',
  20. 二级: {
  21. title: '.title&&Text;',
  22. img: '',
  23. desc: ';;;;',
  24. content: '.wrapper_more_text&&Text',
  25. tabs: '.player_name',
  26. lists: '.listitem a',
  27. },
  28. lazy: $js.toString(() => {
  29. let url_id = input.split('/')[5];
  30. let jishu_id = input.split('/')[7];
  31. let t = new Date().getTime();
  32. eval(getCryptoJS);
  33. let signkey = 'id=' + url_id + '&nid=' + jishu_id + '&key=cb808529bae6b6be45ecfab29a4889bc&t=' + t;
  34. let key = CryptoJS.SHA1(CryptoJS.MD5(signkey).toString()).toString();
  35. let json_data = JSON.parse(request('https://www.cfkj86.com/api/mw-movie/anonymous/video/episode/url?id=' + url_id + '&nid=' + jishu_id, {
  36. headers: {
  37. 'User-Agent': PC_UA,
  38. 'deviceid': '58a80c52-138c-48fd-8edb-138fd74d12c8',
  39. 'sign': key,
  40. 't': t
  41. }
  42. }));
  43. let url = json_data.data;
  44. log(url);
  45. if (url) {
  46. input = {
  47. parse: 0,
  48. url: url,
  49. header: rule.headers
  50. };
  51. }
  52. }),
  53. class_name: '电影&电视&综艺&动漫',
  54. class_url: '1&2&3&4',
  55. class_parse: ''
  56. }